<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>POI</title>
</head>
<body>
<h1> hello world</h1>
<h2>{{ data }}</h2>
<form class="form-horizontal" role="form" method="post" action="" >
            {% csrf_token %}
                    <div class="form-inline">
                        <label class="col-md-2 control-label ">IP</label>
                        <input type="text" class="form-control" id="IP"
                               placeholder="请输入IP" name="IPvalue" value="{{data.colname}}">
                        <span style="color:red; display:none" id="inputIP">请输入IP</span>
                    </div>
     <div class=" col-md-1  control-label">
                         <button type="submit" class="btn btn-primary btn-block">登录</button>
                    </div>

</form>
</body>
</html>